#ifndef __SYS_H__
#define __SYS_H__

/*Constants for operations*/
#define OP_WRITE 1
#define OP_READ 0
#define NULL 0
#define BUFFER_SIZE 256

/*sys_call routines*/

void sys_exit();
int sys_ni_call();
int sys_write(int fd,char *buffer, int size);
int sys_nice(int quantum);
int sys_sem_init(int n_sem, unsigned int value);
int sys_sem_wait(int n_sem);
int sys_sem_signal(int n_sem);
int sys_sem_destroy(int n_sem);
int sys_sem_wait(int n_sem);
int check_fd(int fd,int operation);

#endif
